package lib.com.Dao.entity;

import water.com.DbAuto.AutoTable;
import water.com.DbAuto.ColumnDefine;
import water.com.Ioc.WaterBean;
import lombok.Data;

@Data
@WaterBean
@AutoTable
public class BookRating {
	@ColumnDefine(primaryKey = true,dataType = "int(11)",defaultNull = false,autoIncrement = true)
	private String bookRatingKey;
	@ColumnDefine(dataType = "int(11)")
	private String userKey;
	@ColumnDefine(dataType = "int(11)")
	private String bookKey;
	@ColumnDefine(dataType = "int")
	private String rating;
	@ColumnDefine(dataType = "varchar(9999)")
	private String comment;
	@ColumnDefine(dataType = "int")
	private String up;
	@ColumnDefine(dataType = "int")
	private String down;
	@ColumnDefine(dataType = "varchar(26)")
	private String timeStamp;
}
